<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery-1.8.3.js"></script>
    <script>
        $(function(){
            $.ajax({
            url:"/info",
            dataType:"json",
            type:"post",
            success:function (msg) {
                    var text="";
                    $(msg).each(function (i) {
                        var s=msg[i];
                        text+="<li>'"+s.name+"'</li>";
                    })
                    $("#ul").append(text);
                }
            })
        })
    </script>
</head>
<body>
    <ul id="ul">

    </ul>
</body>
</html>